let numbers = [];

for (let i = 0; i < 10; i++) {
  numbers[i] = i + 1;
}

console.log(numbers);

console.log(numbers[20] === 1); // false , numbers[20] 是 undefined
console.log(numbers.length);

